package com.zhen.aikan.service;

import com.zhen.aikan.entity.User;

import java.util.Map;

/**
 * @author LiJiaZhen
 * @date 2023/9/19 23:06
 */
public interface IUtilService {
    void getVerificationCode(String email);

    /**
     * 验证验证码
     * @param email
     * @param code
     * @return
     */
    boolean verifyCode(String email,String code);

    Map<Object, Object> getUserByToken(String token);
}
